/*
 * 易族智汇（北京）科技有限公司 版权所有。
 * 未经许可，您不得使用此文件。
 * 官方地址：www.javamall.com.cn
 */
package com.enation.app.javashop.core.client.feignimpl.promotion;


import com.enation.app.javashop.client.promotion.FullDiscountClient;
import com.enation.app.javashop.core.client.fallback.promotion.FullDiscountClientFallbackFactory;
import com.enation.app.javashop.core.handler.FeignConfiguration;
import com.enation.app.javashop.model.promotion.fulldiscount.dos.FullDiscountDO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @author zs
 * @version v2.0
 * @Description: 满送client
 * @date 2021-12-21
 * @since v7.2.0
 */
@FeignClient(name = "promotion-service", fallbackFactory = FullDiscountClientFallbackFactory.class,configuration = {FeignConfiguration.class})
public interface FullDiscountClientFeignImpl extends FullDiscountClient {

    @Override
    @RequestMapping(value = "/client/promotion/full-discount/{id}", method = RequestMethod.GET)
    FullDiscountDO getModel(@PathVariable("id") Long id);

}
